package model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author wujiazhan
 * @ClassName ResultMassage
 * @description 返回给界面、控制器的信息类(qt界面对接不需要用到，方便测试而已)
 * @date 2021-05-23 14:52
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Massage implements Serializable {

    //小车位置
    double x_car;
    //杠杆摆角
    double theta;
    //目标位置
    double x_tar;

    public Massage(double x_car, double theta){
        this.x_car = x_car;
        this.theta = theta;
    }

}
